﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace PHMEE.Entities.DaqInfo.TdDevices
{
    /// <summary>
    /// 设备实例实体（即子表）
    /// </summary>
    public class TdDeviceInstance : Entity<Guid>
    {
        /// <summary>
        /// 子表名，例如gps_1, gps_2等子表名称
        /// </summary>
        public string InstanceName { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 设备类型外键
        /// </summary>
        public Guid TdDeviceTypeId { get; set; }
        /// <summary>
        /// 所属设备类型
        /// </summary>
        public TdDeviceType TdDeviceType { get; set; }

        public TdDeviceInstance(Guid id)
        {
            Id = id;
        }
    }

}
